<!DOCTYPE html>
<html lang="zh" ng-app="xiaohu">
<head>
    <meta charset="UTF-8">
    <title>晓乎</title>
    <link href="/node_modules/normalize-css/normalize.css" rel="stylesheet">
    <link href="/css/base.css" rel="stylesheet">
    <script src="/node_modules/jquery/dist/jquery.js" type="text/javascript"></script>
    <script src="/node_modules/angular/angular.js" type="text/javascript"></script>
    <script src="/node_modules/angular-ui-router/release/angular-ui-router.js"  type="text/javascript"></script>
    <script src=" /js/base.js" type="text/javascript"></script>
</head>

<body>
   <div class="navbar clearfix">
        <div class="container">
            <div class="fl">
                <div class="navbar-item brand">晓乎</div>
                <div class="navbar-item">
                    <input type="text">
                </div>
            </div>
            <div class="fr">
                <div ui-sref="home" class="navbar-item">首页</div>
                <div ui-sref="login" class="navbar-item">登录</div>
                <div ui-sref="signup" class="navbar-item">注册</div>
            </div>
        </div>
   </div>
    <div class="page">
        <div ui-view></div>
    </div>
</body>
<!--.page .home-->
<!--首页-->
<script type="text/ng-template" id="home.tpl">
    <div class="home container">
        首页
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
    </div>
</script>


<!--注册-->
<script type="text/ng-template" id="signup.tpl">
    <div ng-controller="SignupController" class="home container">
        <div class="card">
            <h1>注册</h1>
            <from ng-submit="User.signup()">
                <input type="text" ng-model="username">
                <button type="submit">注册</button>
            </from>
        </div>


    </div>
</script>
<!--登录-->
<script type="text/ng-template" id="login.tpl">
    <div class="home container">
        登录
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
        [Sat Apr 14 15:04:03 2018] ::1:14942 [200]: /favicon.ico
    </div>
</script>

</html>